<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Strict//EN">
<html>
<head>
<meta http-equiv="Content-Language" content="en-us">
<title>ENTERWINDOW_CB</title>

<link rel="stylesheet" type="text/css" href="../../style.css">
</head>
<body>

<h2>ENTERWINDOW_CB</h2>
<p>Action generated when the mouse enters the native element. </p>
<h3>Callback</h3>
<pre>int function(Ihandle *<strong>ih</strong>); [in C]
<strong>ih</strong>:enterwindow_cb() -&gt; (<strong>ret</strong>: number) [in Lua]</pre>
<p><strong>ih</strong>:
  identifier of the element that activated the 
  event.</p>
<h3>Notes</h3>
<p>When the cursor is moved from one element to another, the call order in all 
platforms will be first the LEAVEWINDOW_CB callback of the old control followed 
by the ENTERWINDOW_CB callback of the new control. (since 3.14) </p>
<p>If the mouse button is hold pressed and the cursor moves outside the element 
the behavior is system dependent. In Windows the LEAVEWINDOW_CB/ENTERWINDOW_CB 
callbacks are NOT called, in GTK the callbacks are called.</p>

<h3>Affects</h3>
<p>All controls with user interaction.</p>
<h3>See Also</h3>
<p><a href="iup_leavewindow_cb.html">LEAVEWINDOW_CB</a></p>

</body>

</html>